Skip to content

[TASK] Add ProcessorSkipperTest for processor skipping functionality#391

Merged
simonschaufi merged 2 commits intoandreaswolf:mainfrom
chrissonntag:task/processor-skipper-tests
Mar 31, 2026
Merged

[TASK] Add ProcessorSkipperTest for processor skipping functionality#391
simonschaufi merged 2 commits intoandreaswolf:mainfrom
chrissonntag:task/processor-skipper-tests

Conversation

@chrissonntag
Copy link
Copy Markdown
Contributor

  • 🧪 Implement tests to verify processors not in skip list are not skipped
  • ✅ Add tests for single processor in skip list being skipped
  • 🔄 Ensure other processors are unaffected when one is skipped
  • 🚀 Test multiple processors can be skipped simultaneously
  • ✔️ Validate all processors can be skipped when configured

- 🧪 Implement tests to verify processors not in skip list are not skipped
- ✅ Add tests for single processor in skip list being skipped
- 🔄 Ensure other processors are unaffected when one is skipped
- 🚀 Test multiple processors can be skipped simultaneously
- ✔️ Validate all processors can be skipped when configured
@chrissonntag
Copy link
Copy Markdown
Contributor Author

Don't know where the tests have vanished to. Most likely they have been a casualty of the rebasing... However, now they are back

@simonschaufi
Copy link
Copy Markdown
Collaborator

Please tell your AI not to use emojis. And then fix the CI ;)

Remove unnecessary generic type annotation from ProcessorSkipper::shouldSkip() since the method only performs a string comparison via in_array().
This resolves PHPStan covariance errors when passing concrete FileProcessor class-strings in tests.
@chrissonntag
Copy link
Copy Markdown
Contributor Author

Copy that. No emojis from now on and tests are fixed :)

@simonschaufi simonschaufi merged commit 082ddd4 into andreaswolf:main Mar 31, 2026
36 checks passed
@chrissonntag chrissonntag deleted the task/processor-skipper-tests branch April 1, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants